<?php 
if(@$_GET['id_del_tour']){
	$sql_del="delete from qldl_tour 
			  where MA_TOUR = '".$_GET['id_del_tour']."'
			 ";
	$query_del = @mysql_query($sql_del,$conn);
	if(!$query_del) echo "<script>alert ('Lỗi khi xóa thông tin.')</script>";
	else echo "<script>alert ('Xóa thông tin thành công.')</script>";
}
if(@$_GET['id_photo_tour']){
	$myphoto=$_GET['id_photo_tour'] ;
unlink($myphoto);
echo "<meta http-equiv='refresh' content='0;url=index.php?page=tour'>";
}
?>